package com.xueyi.system.area.domain.dto;

import com.xueyi.system.area.domain.po.BaseAreaPo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 基地管理 数据传输对象
 *
 * @author yanhe
 */
public class BaseAreaDto extends BaseAreaPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("img", getImg())
            .append("code", getCode())
            .append("property", getProperty())
            .append("pertain", getPertain())
            .append("adderss", getAdderss())
            .append("areaIds", getAreaIds())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("elevation", getElevation())
            .append("area", getArea())
            .append("baseUser", getBaseUser())
            .append("baseUserName", getBaseUserName())
            .append("phone", getPhone())
            .append("affix", getAffix())
            .append("content", getContent())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
